package com.zbkj.common.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.List;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ProductAttrAdjustRequest对象", description = "调整订单请求对象")
public class ProductAttrAdjustRequest {

    @ApiModelProperty(value = "订单号")
    @NotBlank(message = "订单号不能为空")
    private String orderNo;

    @ApiModelProperty(value = "新增的商品规格id和数量集合")
    private List<ProductAttrAndNumberRequest> addList;

    @ApiModelProperty(value = "移除的商品规格id和数量集合")
    private List<ProductAttrAndNumberRequest> removeList;

}

